<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>订单管理</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/Public/admin/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/Public/admin/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="/Public/admin/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="/Public/admin/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/Public/admin/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/Public/admin/assets/css/app.css">
    <link href="/Public/person/css/orstyle.css" rel="stylesheet" type="text/css">
    <script src="/Public/admin/assets/js/jquery.min.js"></script>
    <style >
                img{width: 100%;}
    </style>
</head>

<body data-type="widgets">
    <script src="/Public/admin/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <include file="./Application/Admin/View/Share/header.html"/>
        <include file="./Application/Admin/View/Share/left.html"/>

        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">

            <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span>订单管理 <small></small></div>
                        <p class="page-header-description">可以查看、管理订单</p>
                    </div>
                    <div class="am-u-lg-3 tpl-index-settings-button">
                        
                    </div>
                </div>

            </div>

            <div class="row-content am-cf">

                <div class="row">
                        <div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

                            <ul class="am-avg-sm-5 am-tabs-nav am-nav am-nav-tabs">
                                <li class="am-active"><a href="#tab1">所有订单</a></li>
                              
                                <li><a href="#tab3">待发货</a></li>
                                <li><a href="#tab4">待收货</a></li>
                                <li><a href="#tab5">已完成</a></li>
                                <li><a href="#tab6">被删除</a></li>
                            </ul>

                            <div class="am-tabs-bd">
                                        <!-- 所有订单 -->
                                        <div class="am-tab-panel am-fade am-in am-active" id="tab1">
                                                    <div class="order-top">
                                                                 <div class="th th-item">
                                                                            <td class="td-inner">商品</td>
                                                                 </div>
                                                                 <div class="th th-price">
                                                                            <td class="td-inner">单价</td>
                                                                 </div>
                                                                 <div class="th th-number">
                                                                            <td class="td-inner">数量</td>
                                                                 </div>
                                                                 <div class="th th-operation">
                                                                            <td class="td-inner">商品操作</td>
                                                                  </div>
                                                                 <div class="th th-amount">
                                                                            <td class="td-inner">合计</td>
                                                                  </div>
                                                                 <div class="th th-status">
                                                                            <td class="td-inner">交易状态</td>
                                                                 </div>
                                                                 <div class="th th-change">
                                                                             <td class="td-inner">交易操作</td>
                                                                 </div>
                                                    </div>

                                                    <div class="order-main">
                                                                 <div class="order-list" >
                                                                              <volist name="orderdatalist" id="vo">
                                                                                           <div class="order-status5">
                                                                                                        <div class="order-title">
                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
                                                                                                                     <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
                                                                                                        </div>
                                                                                                        <div class="order-content">
                                                                                                                     <div class="order-left">
                                                                                                                                  <volist name="vo.goodslist" id="v">
                                                                                                                                  <ul class="item-list">
                                                                                                                                                <li class="td td-item">
                                                                                                                                                            <div class="item-pic">
                                                                                                                                                                         <a href="#" class="J_MakePoint">
                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
                                                                                                                                                                         </a>
                                                                                                                                                            </div>
                                                                                                                                                            <div class="item-info">
                                                                                                                                                                         <div class="item-basic-info">
                                                                                                                                                                                      <a href="#">
                                                                                                                                                                                                    <p>{$v.goodsname}</p>
                                                                                                                                                                                                    
                                                                                                                                                                                      </a>
                                                                                                                                                                         </div>
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-price">
                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-number">
                                                                                                                                                            <div class="item-number">
                                                                                                                                                                        <span>×</span>{$v.number}
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-operation">
                                                                                                                                                            <div class="item-operation">
                                                                                                                                                                        <switch name="vo.status" >
                                                                                                                                                                        <case value="0">
                                                                                                                                                                         <a href="refund.html">退款</a>
                                                                                                                                                                         </case>
                                                                                                                                                                        </switch>
                                                                                                                                                             </div>
                                                                                                                                                </li>
                                                                                                                                  </ul>
                                                                                                                                  </volist>


                                                                                                                     </div>
                                                                                                                     <div class="order-right">
                                                                                                                                  <li class="td td-amount">
                                                                                                                                                <div class="item-amount">
                                                                                                                                                    合计：￥{$vo.payprices}
                                                                                                                                                    <p>含运费：<span>0.00</span></p>
                                                                                                                                                </div>
                                                                                                                                   </li>
                                                                                                                                  <div class="move-right">
                                                                                                                                                <li class="td td-status">
                                                                                                                                                            <switch name="vo.status" >
                                                                                                                                                            <case value="0">
                                                                                                                                                                         <div class="item-status">
                                                                                                                                                                                    <p class="Mystatus">买家已付款</p>
                                                                                                                                                                                    <p class="order-info">等待发货</p>
                                                                                                                                                                         </div>
                                                                                                                                                            </case>
                                                                                                                                                            <case value="1">
                                                                                                                                                                          <div class="item-status">
                                                                                                                                                                                    <p class="Mystatus">卖家已发货</p>
                                                                                                                                                                                    <p class="order-info">等待收货</p>
                                                                                                                                                                          </div>
                                                                                                                                                            </case>
                                                                                                                                                            <case value="2">
                                                                                                                                                                         <div class="item-status">
                                                                                                                                                                                    <p class="Mystatus">买家已收货</p>
                                                                                                                                                                                    <p class="order-info">购物完成</p>
                                                                                                                                                                         </div>
                                                                                                                                                            </case>
                                                                                                                                                             <case value="3">
                                                                                                                                                                         <div class="item-status">
                                                                                                                                                                                    <p class="Mystatus">购物完成</p>
                                                                                                                                                                                    <p class="order-info">订单被删除</p>
                                                                                                                                                                         </div>
                                                                                                                                                            </case>
                                                                                                                                                            </switch>
                                                                                                                                                              
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-change">
                                                                                                                                                            <switch name="vo.status" >
                                                                                                                                                            <case value="0">
                                                                                                                                                                         <div class="am-btn am-btn-danger anniu" onclick="shipment('{$vo.id}');">商品发货</div>
                                                                                                                                                            </case>
                                                                                                                                                            <case value="1">
                                                                                                                                                                         <div class="am-btn am-btn-danger anniu">提醒收货</div>
                                                                                                                                                            </case>
                                                                                                                                                            <case value="2">
                                                                                                                                                                         <div class="am-btn am-btn-danger anniu" onclick="comment('{$vo.id}');">提醒评价</div>
                                                                                                                                                            </case>
                                                                                                                                                            <case value="3">
                                                                                                                                                                         <div class="am-btn am-btn-danger anniu" onclick="recovery('{$vo.id}');">恢复订单</div>
                                                                                                                                                            </case>
                                                                                                                                                            </switch>
                                                                                                                                                </li>
                                                                                                                                   </div>
                                                                                                                     </div>
                                                                                                        </div>
                                                                                            </div>
                                                                              </volist>
                                                                              <!-- 分页链接 -->
                                                                              <div class="am-fr">
                                                                                            {$show}
                                                                              </div>

                                                                </div>

                                                    </div>

                                        </div>
                                        <!-- 待发货的订单 -->
                                        <div class="am-tab-panel am-fade" id="tab3">
                                                    <div class="order-top">
                                                                  <div class="th th-item">
                                                                        <td class="td-inner">商品</td>
                                                                  </div>
                                                                  <div class="th th-price">
                                                                        <td class="td-inner">单价</td>
                                                                  </div>
                                                                  <div class="th th-number">
                                                                        <td class="td-inner">数量</td>
                                                                  </div>
                                                                  <div class="th th-operation">
                                                                        <td class="td-inner">商品操作</td>
                                                                  </div>
                                                                  <div class="th th-amount">
                                                                        <td class="td-inner">合计</td>
                                                                 </div>
                                                                 <div class="th th-status">
                                                                        <td class="td-inner">交易状态</td>
                                                                 </div>
                                                                 <div class="th th-change">
                                                                        <td class="td-inner">交易操作</td>
                                                                 </div>
                                                    </div>

                                                    <div class="order-main">
                                                                <div class="order-list">
                                                                             <volist name="orderlist" id="vo">
                                                                                           <eq name="vo.status" value="0">
                                                                                           <div class="order-status5">
                                                                                                        <div class="order-title">
                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
                                                                                                                     <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
                                                                                                        </div>
                                                                                                        <div class="order-content">
                                                                                                                     <div class="order-left">
                                                                                                                                  <volist name="vo.goodslist" id="v">
                                                                                                                                  <ul class="item-list">
                                                                                                                                                <li class="td td-item">
                                                                                                                                                            <div class="item-pic">
                                                                                                                                                                         <a href="#" class="J_MakePoint">
                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
                                                                                                                                                                         </a>
                                                                                                                                                            </div>
                                                                                                                                                            <div class="item-info">
                                                                                                                                                                         <div class="item-basic-info">
                                                                                                                                                                                      <a href="#">
                                                                                                                                                                                                    <p>{$v.goodsname}</p>
                                                                                                                                                                                                    
                                                                                                                                                                                      </a>
                                                                                                                                                                         </div>
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-price">
                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-number">
                                                                                                                                                            <div class="item-number">
                                                                                                                                                                        <span>×</span>{$v.number}
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-operation">
                                                                                                                                                            <div class="item-operation">
                                                                                                                                                                         <a href="refund.html">退款</a>
                                                                                                                                                             </div>
                                                                                                                                                </li>
                                                                                                                                  </ul>
                                                                                                                                  </volist>


                                                                                                                     </div>
                                                                                                                     <div class="order-right">
                                                                                                                                  <li class="td td-amount">
                                                                                                                                                <div class="item-amount">
                                                                                                                                                    合计：￥{$vo.payprices}
                                                                                                                                                    <p>含运费：<span>0.00</span></p>
                                                                                                                                                </div>
                                                                                                                                   </li>
                                                                                                                                  <div class="move-right">
                                                                                                                                                <li class="td td-status">
                                                                                                                                                             <div class="item-status">
                                                                                                                                                                        <p class="Mystatus">买家已付款</p>
                                                                                                                                                                        <p class="order-info">等待发货</p>
                                                                                                                                                             </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-change">
                                                                                                                                                            <div class="am-btn am-btn-danger anniu" onclick="shipment('{$vo.id}');">商品发货</div>
                                                                                                                                                </li>
                                                                                                                                   </div>
                                                                                                                     </div>
                                                                                                        </div>
                                                                                            </div>
                                                                                           <else/>
                                                                                           </eq> 
                                                                              </volist>
                                                                              <!-- 分页链接 -->
                                                                              <div class="am-fr">
                                                                                           
                                                                              </div>
                                                                </div>
                                                    </div>
                                        </div>
                                        <div class="am-tab-panel am-fade" id="tab4">
                                                    <div class="order-top">
                                                                 <div class="th th-item">
                                                                        <td class="td-inner">商品</td>
                                                                  </div>
                                                                  <div class="th th-price">
                                                                        <td class="td-inner">单价</td>
                                                                  </div>
                                                                  <div class="th th-number">
                                                                        <td class="td-inner">数量</td>
                                                                  </div>
                                                                  <div class="th th-operation">
                                                                        <td class="td-inner">商品操作</td>
                                                                  </div>
                                                                  <div class="th th-amount">
                                                                        <td class="td-inner">合计</td>
                                                                 </div>
                                                                 <div class="th th-status">
                                                                        <td class="td-inner">交易状态</td>
                                                                 </div>
                                                                 <div class="th th-change">
                                                                        <td class="td-inner">交易操作</td>
                                                                 </div>
                                                    </div>

                                                    <div class="order-main">
                                                                 <div class="order-list">
                                                                              <volist name="orderlist" id="vo">
                                                                                           <eq name="vo.status" value="1">
                                                                                           <div class="order-status5">
                                                                                                        <div class="order-title">
                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
                                                                                                                     <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
                                                                                                        </div>
                                                                                                        <div class="order-content">
                                                                                                                     <div class="order-left">
                                                                                                                                  <volist name="vo.goodslist" id="v">
                                                                                                                                  <ul class="item-list">
                                                                                                                                                <li class="td td-item">
                                                                                                                                                            <div class="item-pic">
                                                                                                                                                                         <a href="#" class="J_MakePoint">
                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
                                                                                                                                                                         </a>
                                                                                                                                                            </div>
                                                                                                                                                            <div class="item-info">
                                                                                                                                                                         <div class="item-basic-info">
                                                                                                                                                                                      <a href="#">
                                                                                                                                                                                                    <p>{$v.goodsname}</p>
                                                                                                                                                                                                    
                                                                                                                                                                                      </a>
                                                                                                                                                                         </div>
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-price">
                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-number">
                                                                                                                                                            <div class="item-number">
                                                                                                                                                                        <span>×</span>{$v.number}
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-operation">
                                                                                                                                                            <div class="item-operation">
                                                                                                                                                                         <a href="refund.html">退款</a>
                                                                                                                                                             </div>
                                                                                                                                                </li>
                                                                                                                                  </ul>
                                                                                                                                  </volist>


                                                                                                                     </div>
                                                                                                                     <div class="order-right">
                                                                                                                                  <li class="td td-amount">
                                                                                                                                                <div class="item-amount">
                                                                                                                                                    合计：￥{$vo.payprices}
                                                                                                                                                    <p>含运费：<span>0.00</span></p>
                                                                                                                                                </div>
                                                                                                                                   </li>
                                                                                                                                  <div class="move-right">
                                                                                                                                                <li class="td td-status">
                                                                                                                                                            <div class="item-status">
                                                                                                                                                                        <p class="Mystatus">卖家已发货</p>
                                                                                                                                                                        <p class="order-info">等待收货</p>
                                                                                                                                                            </div>
                                                                                                                                                </li>
                                                                                                                                                <li class="td td-change">
                                                                                                                                                            <div class="am-btn am-btn-danger anniu" >提醒收货</div>
                                                                                                                                                </li>
                                                                                                                                   </div>
                                                                                                                     </div>
                                                                                                        </div>
                                                                                            </div>
                                                                                           <else/>
                                                                                           </eq> 
                                                                              </volist>
                                                                              <!-- 分页链接 -->
                                                                              <div class="am-fr">
                                                                                          
                                                                              </div>
                                                                </div>
                                                    </div>
                                        </div>

                                        <div class="am-tab-panel am-fade" id="tab5">
                                                    <div class="order-top">
                                                                 <div class="th th-item">
                                                                        <td class="td-inner">商品</td>
                                                                 </div>
                                                                 <div class="th th-price">
                                                                        <td class="td-inner">单价</td>
                                                                  </div>
                                                                  <div class="th th-number">
                                                                        <td class="td-inner">数量</td>
                                                                  </div>
                                                                  <div class="th th-operation">
                                                                        <td class="td-inner">商品操作</td>
                                                                  </div>
                                                                  <div class="th th-amount">
                                                                        <td class="td-inner">合计</td>
                                                                  </div>
                                                                  <div class="th th-status">
                                                                        <td class="td-inner">交易状态</td>
                                                                  </div>
                                                                  <div class="th th-change">
                                                                        <td class="td-inner">交易操作</td>
                                                                 </div>
                                                    </div>

                                        <div class="order-main">
                                                    <div class="order-list">
                                                        <!--不同状态的订单 -->
                                                                 <volist name="orderlist" id="vo">
                                                                               <eq name="vo.status" value="2">
                                                                               <div class="order-status5">
                                                                                            <div class="order-title">
                                                                                                         <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
                                                                                                         <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
                                                                                                         <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
                                                                                            </div>
                                                                                            <div class="order-content">
                                                                                                         <div class="order-left">
                                                                                                                      <volist name="vo.goodslist" id="v">
                                                                                                                      <ul class="item-list">
                                                                                                                                    <li class="td td-item">
                                                                                                                                                <div class="item-pic">
                                                                                                                                                             <a href="#" class="J_MakePoint">
                                                                                                                                                                         <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
                                                                                                                                                             </a>
                                                                                                                                                </div>
                                                                                                                                                <div class="item-info">
                                                                                                                                                             <div class="item-basic-info">
                                                                                                                                                                          <a href="#">
                                                                                                                                                                                        <p>{$v.goodsname}</p>
                                                                                                                                                                                        
                                                                                                                                                                          </a>
                                                                                                                                                             </div>
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-price">
                                                                                                                                                <div class="item-price">￥{$v.goodsnow}</div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-number">
                                                                                                                                                <div class="item-number">
                                                                                                                                                            <span>×</span>{$v.number}
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-operation">
                                                                                                                                                <div class="item-operation">
                                                                                                                                                             <a href="refund.html">退款</a>
                                                                                                                                                 </div>
                                                                                                                                    </li>
                                                                                                                      </ul>
                                                                                                                      </volist>


                                                                                                         </div>
                                                                                                         <div class="order-right">
                                                                                                                      <li class="td td-amount">
                                                                                                                                    <div class="item-amount">
                                                                                                                                        合计：￥{$vo.payprices}
                                                                                                                                        <p>含运费：<span>0.00</span></p>
                                                                                                                                    </div>
                                                                                                                       </li>
                                                                                                                      <div class="move-right">
                                                                                                                                    <li class="td td-status">
                                                                                                                                                <div class="item-status">
                                                                                                                                                             <p class="Mystatus">买家已收货</p>
                                                                                                                                                             <p class="order-info">购物完成</p>
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-change">
                                                                                                                                                <div class="am-btn am-btn-danger anniu" onclick="comment('{$vo.id}');">提醒评价</div>
                                                                                                                                    </li>
                                                                                                                       </div>
                                                                                                         </div>
                                                                                            </div>
                                                                               </div>
                                                                               <else/>
                                                                               </eq> 
                                                                 </volist>
                                                                  <!-- 分页链接 -->
                                                                 <div class="am-fr">
                                                                              
                                                                  </div>
                                                        
                                                    </div>

                                        </div>

                                </div>

                                       <div class="am-tab-panel am-fade" id="tab6">
                                                    <div class="order-top">
                                                                 <div class="th th-item">
                                                                        <td class="td-inner">商品</td>
                                                                 </div>
                                                                 <div class="th th-price">
                                                                        <td class="td-inner">单价</td>
                                                                  </div>
                                                                  <div class="th th-number">
                                                                        <td class="td-inner">数量</td>
                                                                  </div>
                                                                  <div class="th th-operation">
                                                                        <td class="td-inner">商品操作</td>
                                                                  </div>
                                                                  <div class="th th-amount">
                                                                        <td class="td-inner">合计</td>
                                                                  </div>
                                                                  <div class="th th-status">
                                                                        <td class="td-inner">交易状态</td>
                                                                  </div>
                                                                  <div class="th th-change">
                                                                        <td class="td-inner">交易操作</td>
                                                                 </div>
                                                    </div>

                                        <div class="order-main">
                                                    <div class="order-list">
                                                        <!--不同状态的订单 -->
                                                                 <volist name="orderlist" id="vo">
                                                                               <eq name="vo.status" value="3">
                                                                               <div class="order-status5">
                                                                                            <div class="order-title">
                                                                                                         <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
                                                                                                         <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
                                                                                                         <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
                                                                                            </div>
                                                                                            <div class="order-content">
                                                                                                         <div class="order-left">
                                                                                                                      <volist name="vo.goodslist" id="v">
                                                                                                                      <ul class="item-list">
                                                                                                                                    <li class="td td-item">
                                                                                                                                                <div class="item-pic">
                                                                                                                                                             <a href="#" class="J_MakePoint">
                                                                                                                                                                         <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
                                                                                                                                                             </a>
                                                                                                                                                </div>
                                                                                                                                                <div class="item-info">
                                                                                                                                                             <div class="item-basic-info">
                                                                                                                                                                          <a href="#">
                                                                                                                                                                                        <p>{$v.goodsname}</p>
                                                                                                                                                                                        
                                                                                                                                                                          </a>
                                                                                                                                                             </div>
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-price">
                                                                                                                                                <div class="item-price">￥{$v.goodsnow}</div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-number">
                                                                                                                                                <div class="item-number">
                                                                                                                                                            <span>×</span>{$v.number}
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-operation">
                                                                                                                                                <div class="item-operation">
                                                                                                                                                             <a href="refund.html">退款</a>
                                                                                                                                                 </div>
                                                                                                                                    </li>
                                                                                                                      </ul>
                                                                                                                      </volist>


                                                                                                         </div>
                                                                                                         <div class="order-right">
                                                                                                                      <li class="td td-amount">
                                                                                                                                    <div class="item-amount">
                                                                                                                                        合计：￥{$vo.payprices}
                                                                                                                                        <p>含运费：<span>0.00</span></p>
                                                                                                                                    </div>
                                                                                                                       </li>
                                                                                                                      <div class="move-right">
                                                                                                                                    <li class="td td-status">
                                                                                                                                                <div class="item-status">
                                                                                                                                                             <p class="Mystatus">购物完成</p>
                                                                                                                                                             <p class="order-info">订单被删除</p>
                                                                                                                                                </div>
                                                                                                                                    </li>
                                                                                                                                    <li class="td td-change">
                                                                                                                                                <div class="am-btn am-btn-danger anniu" onclick="recovery('{$vo.id}');">恢复订单</div>
                                                                                                                                    </li>
                                                                                                                       </div>
                                                                                                         </div>
                                                                                            </div>
                                                                               </div>
                                                                               <else/>
                                                                               </eq> 
                                                                 </volist>
                                                                  <!-- 分页链接 -->
                                                                 <div class="am-fr">
                                                                              
                                                                  </div>
                                                        
                                                    </div>

                                        </div>

                                </div>

                            </div>

                        </div>

                        <!--  -->
                 




                </div>

            </div>
        </div>
    </div>
    </div>

<script src="/Public/admin/assets/js/amazeui.min.js"></script>
<script src="/Public/admin/assets/js/amazeui.datatables.min.js"></script>
<script src="/Public/admin/assets/js/dataTables.responsive.min.js"></script>
<script src="/Public/admin/assets/js/app.js"></script>
<script >
             //ORDER.run();
                 function newsort(){
                                 window.location.href='{:U('/Admin/Sort/newSort')}';
                 }

                 function delsort(){
                                if(confirm("确定要删除此分类吗？")){
                                               return true;
                                 }else{
                                               return false;
                                }
                  }
                //进行发货操作
                 function shipment(orderid){
                                $.post("/API/Order/shipment",{"orderid":orderid},function(res){
                                            alert(res.data);
                                            window.location.href='{:U('/Admin/Order/index')}';
                                });
                 }
                //提醒评价
                 function comment(orderid){
                                 $.post("/API/Order/Promptcomment",{"orderid":orderid},function(res){
                                            alert(res.data);
                                            window.location.href='{:U('/Admin/Order/index')}';
                                });
                 }

                function recovery(orderid){
                                if (confirm("确定恢复此订单吗？")) {
                                                 $.post("/API/Order/Recoveryorder",{"orderid":orderid},function(res){
                                                                alert(res.data);
                                                                window.location.href='{:U('/Admin/Order/index')}';
                                                });
                                }
                }
</script>
</body>

</html>